//
//  GetLikerData.m
//  __PRODUCTNAME__
//
//  Created by dllo on 16/09/10
//  Copyright (c) __ORGANIZATIONNAME__. All rights reserved.
//

#import "GetLikerData.h"
#import "GetLikerList.h"

@implementation GetLikerData

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"list"]) {
        NSMutableArray *listArr = [NSMutableArray array];
        for (NSDictionary *dic in value) {
            GetLikerList *list = [GetLikerList modelWithDic:dic];
            [listArr addObject:list];
        }
        _list = listArr;
    }
}

@end
